import {requestUserList} from "@/api/bpmnApi";

export async function getUserList(params){
    const rst = await requestUserList(params)
    if (rst.success) {
        return rst.data.map(item => ({
                name: item.username,
                value: item.userId
            })
        );
    } else {
        return false
    }
}